const store = {
    state: {
        sarr: [10, 20, 30]
    },
    actions: {
        pushNumber(newState: { sarr: number[] }, action: { type: string, value: number }) {
            newState.sarr.push(action.value);
        },

    },
    actionArrs: {}

}
let actionArrs = {}
for (let key in store.actions) {
    actionArrs[key] = key
}
store.actionArrs = actionArrs
export default store;